package com.wzx.user.controller;

import com.wzx.common.pojo.resp.Result;
import com.wzx.user.mongo.req.SysMsgReq;
import com.wzx.user.service.SystemNoticeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/6/6 - 14:12
 * @description 标题
 */
@Slf4j
@RestController
@RequestMapping("/systemNotice")
@Api(tags = "系统通知管理")
public class SystemNoticeController {

    @Autowired
    private SystemNoticeService systemNoticeService;

    @ApiOperation(value = "通过账号搜索")
    @GetMapping("/getSystemNoticeByPage")
    public Result getSystemNoticeByPage(long page,long size) {
        return systemNoticeService.getSystemNoticeByPage(page,size);
    }



}
